package com.jhd.fuzhou.service;


import com.jhd.fuzhou.vo.JsonForResult;

import java.util.Map;
import java.util.Objects;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;

public interface SpecialService {
    /*获取监督任务*/
    @GET("supervise/supervisionInspection/getSuperviseInspectionSpecialList")
    Call<JsonForResult> getSuperviseInspectionSpecialList(@Header("Authorization") String token, @QueryMap Map<String, Object> params);
    /*获取监督任务*/
    @GET("supervise/supervisionInspection/getSupervisionInspectionSpecialDetailById")
    Call<JsonForResult> getSupervisionInspectionSpecialDetailById(@Header("Authorization") String token, @QueryMap Map<String, String> params);
    /*根据cityCode=361000，获取江西省抚州市的各个县*/
    @GET("uc/region/getCountySelector")
    Call<JsonForResult> getCountySelector(@Header("Authorization") String token, @QueryMap Map<String, String> params);
    /*获取监管机构，啥都不用传*/
    @GET("uc/orgDeptManage/getOrgSelector")
    Call<JsonForResult> getOrgSelector(@Header("Authorization") String token);
    /*获取监管部门，传orgId*/
    @GET("uc/orgDeptManage/getDeptSelector")
    Call<JsonForResult> getDeptSelector(@Header("Authorization") String token,@QueryMap Map<String, String> params);
    //专项监督保存表单
    @POST("supervise/supervisionInspection/saveSupervisionInspectionSpecial")
    Call<JsonForResult> saveSupervisionInspectionSpecial(@Header("Authorization") String token,@Body RequestBody requestBody);
}
